package com.example.EatOnTrojans;



import android.app.Activity;
import android.app.ProgressDialog;
import android.os.Bundle;
import android.content.Intent;
import android.text.TextUtils;
import android.view.View;
import android.view.Window;
import android.view.View.OnClickListener;
import android.widget.Button;
import android.widget.EditText;
import android.widget.ImageView;
import android.widget.Spinner;
import android.widget.TextView;
import android.widget.Toast;

public class Help extends Activity {
	
	private ImageView logoBanner;
	private TextView text1; 
	private TextView text2; 
	private TextView text3; 
	private TextView text4; 
	private TextView text5; 
	
	
    /** Called when the activity is first created. */
    @Override
    public void onCreate(Bundle savedInstanceState) {
    	super.onCreate(savedInstanceState);
        setContentView(R.layout.help);
        
        logoBanner = (ImageView) findViewById(R.id.banner);
        
        text1 = (TextView) findViewById(R.id.textView1);
        text2 = (TextView) findViewById(R.id.textView2);
        text3 = (TextView) findViewById(R.id.textView3);
        text4 = (TextView) findViewById(R.id.textView4);
        text5 = (TextView) findViewById(R.id.textView5);
        
        
        
        logoBanner.setOnClickListener(new OnClickListener(){
        	public void onClick(View v){
        		
        		Bundle data = new Bundle();
                Intent intent = new Intent(Help.this,EatOnTrojansActivity.class);
                intent.putExtras(data);
                startActivity(intent);
        	}
        });
        
        //text1.setText("Help USC students find the perfect place for dining within the campus!");
        text1.setText("Click \"Search\" to search a specific restaurant or a type of restaurant.");
        text2.setText("Click \"Map\" to locate yourself and find the nearest restaurant.");
        text3.setText("Click \"List\" to view the nearest restaurant in list view.");
        text4.setText("Click \"Help\" to read instruction of this application.");
        text5.setText("Made BY Yunqing Cao, Xinsui Zhao, Jungyoun Ku, Xiaoman Wang");
        
    }
}